#ifndef CUSTOMRELATIONMODEL_H
#define CUSTOMRELATIONMODEL_H

#include <QtSql>

class CustomRelationModel: public QSqlRelationalTableModel
{
public:
    CustomRelationModel(QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
    void setTable(const QString &tableName);
};

#endif // CUSTOMRELATIONMODEL_H
